/* 权限管理 */
import { auth } from "@/router/enums";
export default {
  path: "/auth",
  redirect: "/auth/index",
  meta: {
    title: "权限管理",
    rank: auth
  },
  children: [
    {
      path: "/auth/index",
      name: "Auth",
      component: () => import("@/views/auth/index.vue"),
      meta: {
        title: "用户管理",
        roles: ["auth-list"]
      }
    },
    {
      path: "/auth/role",
      name: "Role",
      component: () => import("@/views/auth/role.vue"),
      meta: {
        title: "角色管理",
        roles: ["role-list"]
      },
/*       children: [{


        path: "/nested/menu1/menu1-1/index",
        name: "Menu1-1",
        meta: {
          title: "菜单1-1",
          // 通过设置showParent为true，显示父级
          showParent: true
        }
      }] */
    }
  ]
} as RouteConfigsTable;
